home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / text / tex / amiweb2c.lha / AmiWeb2c-2.1 / texmf / amiweb2c / rexx / tex4ht.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1998-01-10  |  657 b   |  31 lines

  1. /*
  2.  * This ARexx script simulates the UNIX-sh script of the same name.
  3.  *
  4.  * Run LaTeX three times (to resolve all dependencies) and run
  5.  * TeX4HT afterwards.
  6.  *
  7.  * Copyright (C) 1998 by Andreas Scherer.
  8.  * This ARexx script is free software; the author gives unlimited
  9.  * permission to copy, distribute, and modify it.
  10.  *
  11.  * The first parameter should always be "latex"; it will be called
  12.  * three times on the source file indicated by the second parameter.
  13.  */
  14.  
  15. Address COMMAND
  16.  
  17. Parse Arg LATEX ARGFILE .
  18.  
  19. LATEX ARGFILE
  20. LATEX ARGFILE
  21. LATEX ARGFILE
  22.  
  23. tex4ht ARGFILE
  24.  
  25. /*
  26.  * Now execute the resulting ARGFILE.lg
  27.  * "./"ARGFILE".lg"
  28.  */
  29.  
  30. /* EOF tex4ht.rexx */
  31.